package top.hmtools.makedata.random;

import java.util.Random;

import top.hmtools.makedata.random.idCardNumber.IdCardNumberGenerator;

/**
 * 随机生成身份证号码工具
 * @author HyboWork
 *
 */
public class RandomIdCardNumberCN implements IRandom<String> {

	@Override
	public String getRandom() {
		Random random = new Random();
		int randomInt = random.nextInt(10);
		return IdCardNumberGenerator.getIdCardNumber(randomInt>5);
	}

}
